A buffer is an aqueous solution consisting of a mixture of a weak acid and its conjugate base or a weak base and its conjugate acid. Its pH changes very little when a small amount of strong acid or base is added to it and thus it is used to prevent changes in the pH of a solution.